
SET(GSL_EXT_OCT_SRCS "MinimizerStateCollector.cpp"
                     "OctaveArgParser.cpp"
                     "OctaveUtils.cpp")

INCLUDE_DIRECTORIES("../" 
                    "../gsl_ext" 
                    "../gsl_ext/multimin" 
                    "../gsl_ext_cpp")

ADD_LIBRARY(gsl_ext_oct SHARED ${GSL_EXT_OCT_SRCS})
INSTALL(TARGETS gsl_ext_oct LIBRARY DESTINATION lib)

SET(INST_HEADERS "OctaveUtils.h"
                 "MinimizerStateCollector.h"
                 "OctaveArgParser.h")

INSTALL(FILES ${INST_HEADERS} DESTINATION include/gsl_ext_oct)
